.header {
    font-family: sans-serif;
    padding: 20px;
    border: 0;
    border-bottom: 1px solid #e9e9e9;
}
.header-container {
    white-space: nowrap;
    margin: 0 auto;
    width: 960px;
}
.logo {
    float: left;
    white-space: nowrap;
    margin-left: 75px;
}
.logo .first-part-logo, .logo h1 {
    display: inline-block;
    font-size: 20px;
}
.logo .first-part-logo {
    background: #1de2ff;
    padding: 10px;
    color: white;
    border-radius: 10px;
    transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    -moz-transform: rotate(20deg);
    -webkit-transform: rotate(20deg);
    -o-transform: rotate(20deg);
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    transition: transform 1s, -ms-transform 1s;
}
.logo:hover .first-part-logo {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
}
.menu {
    float: right;
    margin-right: 20px;
}
.menu ul {
    white-space: nowrap;
}
.menu ul li, .menu ul li.delimiter {
    display: inline-block;
    vertical-align: middle;
}
.menu ul li.delimiter {
    border: 0;
    border-left: 1px solid #e9e9e9;
    height: 25px;
}
.menu ul li:not(.delimiter){
    padding: 9px 25px;
}
.menu.p1 .p1 a, .menu.p2 .p2 a,
.menu.p3 .p3 a, .menu.p4 .p4 a {
    color: #1de2ff;
}
.menu a,
.logo a {
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.menu a:hover {
    color: #1de2ff;
}